#include <stdio.h>
#include <string.h>

int  reverse(char *str)
{
	int len = strlen(str);
	
	char * left = str;
	char *right = str+len-1;
	
		while(left < right)
		{
			if(*left != *right)
			{
			    return 0;
			}
			
			left++;
			right--;
			
		}
		return 1;
	
	
}

int main()
{
	char arr[30] = {0};
	scanf("%s",&arr);
	
	int ret = reverse(arr);
	
	if (ret == 1)
	{
		printf("Yes");
	}
	else
	{
		printf("No");
		
	}
	
	return 0;
}
